From: Brad Jorsch Date: Mon, 13 Jun 2016 16:51:22 +0000 (-0400) Subject: Don't try to use the context language when auto-creating X-Git-Tag: 1.31.0-rc.0~6632 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=50fa1545116f81cd9014a2a83eabdeb7d05a0fa9;p=lhc%2Fweb%2Fwiklou.git Don't try to use the context language when auto-creating Most of the time the context language won't be ready yet, because it needs the user we're auto-creating. Bug: T124367 Change-Id: I0376647be33e81593101378217b37363125cfddf --- diff --git a/includes/auth/AuthManager.php b/includes/auth/AuthManager.php index 2ed0d618c7..7ca9c6a6df 100644 --- a/includes/auth/AuthManager.php +++ b/includes/auth/AuthManager.php @@ -1650,7 +1650,7 @@ class AuthManager implements LoggerAwareInterface { throw $ex; } - $this->setDefaultUserOptions( $user, true ); + $this->setDefaultUserOptions( $user, false ); // Inform the providers $this->callMethodOnProviders( 6, 'autoCreatedAccount', [ $user, $source ] );